//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.shbatis.datasource.unpooled;

import javax.sql.DataSource;
import java.util.Map;

public class UnPooledDataSourceFactory {
    public static DataSource getDataSource(Map<String, String> dataSourceMap) {
        return new UnPooledDataSource(
                dataSourceMap.get("driver"),
                dataSourceMap.get("url"),
                dataSourceMap.get("username"),
                dataSourceMap.get("password")
        );
    }
}
